'use strict';

const Service = require('egg').Service;

class MenuService extends Service {
    async menuList(role_id) {
        return await this.app.mysql.query(`select * from resource where power like '%${role_id}%'`)
    }
}

module.exports = MenuService;
